package com.example.dollarShipping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


@TableName("goods_batch")//当实体类和表名不一致的时候，用@tablename来指定表名
public class GoodsBatch {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long orderId;
    private String goods;
    private Float weight;

    //    @TableField(exist = false)
//    private String houseName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

}